package com.xx.sg.own.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xx.sg.own.entity.FacilityFirePoint;
import com.xx.sg.own.mapper.FacilityFirePointMapper;
import com.xx.sg.own.service.FacilityFirePointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FacilityFirePointServiceImpl extends ServiceImpl<FacilityFirePointMapper, FacilityFirePoint> implements FacilityFirePointService {

    @Autowired
    private FacilityFirePointMapper facilityFirePointMapper;

    @Override
    public List<FacilityFirePoint> selectFirePointList(FacilityFirePoint firePoint) {
        return facilityFirePointMapper.selectFirePointList(firePoint);
    }

    @Override
    public FacilityFirePoint selectFirePointById(String id) {
        return facilityFirePointMapper.selectFirePointById(id);
    }
}
